package module.items 
{
	import flash.display.DisplayObjectContainer;
	import flash.system.ApplicationDomain;
	import module.items.module1.Module1View;
	import module.items.module1.Module1ViewMediator;
	import org.robotlegs.core.IInjector;
	import org.robotlegs.xxl.modular.mvcs.ModuleContext;
	
	/**
	 * ...
	 * @author XXL
	 */
	public class Module1 extends ModuleContext 
	{
		public function Module1(contextView:DisplayObjectContainer, autoStartup:Boolean, parentInjector:IInjector, applicationDomain:ApplicationDomain = null)
		{
			super(contextView, autoStartup, parentInjector, applicationDomain);
		}
		
		override public function startup():void 
		{
			super.startup();
			
			mediatorMap.mapView(Module1View, Module1ViewMediator);
			contextView.addChild(new Module1View);
		}
		
	}

}